



let arr = [1, 2, 3, 4]


console.log(arr.forEach(item => {
  return item > 3
}));


console.log(arr.map(item => {
  return item > 3
}));

console.log(arr.filter(item => {
  return item > 3
}));


console.log(arr.every(item => {
  console.log(item)
  return false
}));

console.log(arr.some(item => {
  console.log(item)
  return true
}));

console.log(`------------------------------------------------`);

console.log(arr.find(item => {
  return item == 3
}));























